package com.mediastory.spsserver.adCategory.service;

import java.util.List;
import java.util.Map;

import com.mediastory.spsserver.adCategory.domain.AdCategory;
import com.mediastory.spsserver.content.domain.Content;

/**
 * @author Jaewon Choi
 *
 */
public interface AdCategorySvc {
	
	public List<AdCategory> findbyList(Map<String, Object> condition) throws Exception;
	
	public AdCategory findby(Integer id) throws Exception;
	
	public AdCategory add(AdCategory adCategory) throws Exception;
	
	public AdCategory modify(AdCategory adCategory) throws Exception;
	
	public int remove(Integer id) throws Exception;
	
	//dispOrder 설정
	public List<Content> findbyListInCont(Map<String, Object> condition) throws Exception;
	
	public Map<String, Object> findbyListPagingInCont(Map<String, Object> condition) throws Exception;
	
	public List<Content> findbyListOutCont(Map<String, Object> condition) throws Exception;
	
	public Integer addDispOrder(Map<String, Object> condition) throws Exception;
	
	public Integer removeDispOrder(Map<String, Object> condition) throws Exception;
	
}